package game;

import java.util.Random;

public class Dice {
	Random random;
	int actualValue;

	public Dice(Random rand)
	{
		random = rand;
	}
	
	public void rollDice() {
		actualValue = random.nextInt(6) + 1;
	}

	public int getNumber() {
		return actualValue;
	}
	
}
